let member_info = localStorage.getItem('member_info');
try{
    member_info = JSON.parse(member_info) || {}
}catch(e){
    member_info = {}
}

export default {
    state: {
        member_info:member_info
    },
    mutations: {
        update(state,info) {
            state.member_info = info;
        }
    }
}